﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace DICOM_PROJECT.Models
{
    public class UserProfile
    {
        [Display(Name="User ID")]
        public int UserProfileID { get; set; }

        [Display(Name = "Password")]
        public string Password { get; set; }

        [Display(Name = "Social ID")]
        public string SocialID { get; set; }

        [Display(Name = "Name")]
        public string Name { get; set; }

        [Display(Name = "Birthday")]
        [DataType(DataType.DateTime)]
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime Birthday { get; set; }

        [Display(Name = "Male")]
        public bool Male { get; set; }

        [Display(Name = "Address")]
        public string Address { get; set; }

        [Display(Name = "Phone")]
        public string Phone { get; set; }

        [Display(Name = "User Type")]
        public string UserType { get; set; }
        public virtual ICollection<Role> Roles { get; set; }
        public virtual ICollection<Visit> Visits { get; set; }
        public virtual ICollection<Indication> Indications { get; set; }
    }
}